<%@ taglib prefix="s" uri="/struts-tags"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<html>
<head>
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/jquery-ui-1.8.13.custom.min.js"></script>
</head>
<body>
<script type="text/javascript">
$(function(){
	$("#data").datepicker({dateFormat: 'dd-mm-yy'});
	});
</script>
<table>
	<tr>
		<th>Matricula</th>
		<th>Nome</th>
		<th>Data de Nascimento</th>
		<th>Sexo</th>
	</tr>
	<s:iterator value="alunos">
		<tr>
			<td align="center"><s:property value="id" /></td>
			<td align="center"><s:property value="nome" /></td>
			<td align="center"><s:date name="dataNascimento" format="dd/MM/yyyy" /></td>
			<td align="center"><s:property value="sexo" /></td>
			<td class="wrapper2" align="center"><a href="removeAluno?aluno.id=${id}">Remover</a></td>
			<td class="wrapper2" align="center"><a href="exibeAluno?aluno.id=${id}">Alterar</a></td>
		</tr>
	</s:iterator>
</table>
</body>
</html>